package com.yupi.yuapicommon.model.dto.interfaceInvokeInfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.yupi.yuapicommon.model.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询请求
 *
 * @author yupi
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class InterfaceInvokeInfoQueryRequest extends PageRequest implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 调用方id
     */
    @ApiModelProperty(value = "调用方id")
    private Long userid;

    /**
     * 接口id
     */
    @ApiModelProperty(value = "接口id")
    private Long interfaceinfoid;

    /**
     * 任务状态 (0-success 1-waiting 2-executing 3-fail)
     */
    @ApiModelProperty(value = "任务状态 (0-success 1-waiting 2-executing 3-fail)")
    private Integer status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createtime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updatetime;

}